package com.ruoyi.modules.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Date;
import java.util.List;

/**
 * 学生贷款申请信息
 */
public class Credit extends BaseEntity
{

    @Excel(name = "ID", cellType = Excel.ColumnType.NUMERIC)
    private Long creditId;

    /**
     * 借款人信息(学生)
     */
    @Excel(name = "年度")
    private String duringYear;

    // 学生qq
    @Excel(name = "qq")
    private String qq;

    // 出生日期
    @Excel(name = "出生日期")
    private Date birth;

    // 学生身份证
    @Excel(name = "学生身份证")
    private String cardIdentity;

    // 户口性质 城镇户口 农业户口
    @Excel(name = "户口性质")
    private String residence;

    // 毕业中学
    @Excel(name = "毕业中学")
    private String medium;

    // 户籍
    @Excel(name = "户籍")
    private String household;

    // 通讯地址
    @Excel(name = "通讯地址")
    private String address;

    // 邮编
    @Excel(name = "邮编")
    private String postcode;

    /**
     * 共同借款人
     */
    // 共同借款人姓名
    @Excel(name = "共同借款人姓名")
    private String guarantor;

    // 共同借款人联系电话
    @Excel(name = "共同借款人联系电话")
    private String guaPhone;

    // 关系
    @Excel(name = "关系")
    private String relation;

    // 共同借款人身份证号
    @Excel(name = "共同借款人身份证号")
    private String guaCardIdentity;

    // 健康状态 健康 患病
    @Excel(name = "健康状态")
    private String heath;

    /**
     * 申贷信息
     */
    // 申贷原因
    @Excel(name = "申贷原因")
    private String applyReason;

    /**
     * 签字
     */
    // 借款人签字 是学生姓名

    // 学生签字日期
    @Excel(name = "学生签字日期")
    private Date signatureDate;

    /**
     * 资格审查确认意见
     */
    // 资格审查单位 居委会 民政部门 高校
    @Excel(name = "资格审查单位")
    private String countyUnit;

    // 是否已签章
    @Excel(name = "是否已签章")
    private String isSeal;

    // 盖章日期
    @Excel(name = "盖章日期")
    private Date sealDate;

    // 审批状态
    @Excel(name = "审批状态")
    private String countyCheckStatus;

    /**
     * 个人信息补充
     */
    // 学生身份证有效起始日期
    @Excel(name = "学生身份证有效起始日期")
    private Date studentEffectiveCardIdentity;

    // 学生身份证有效结束日期
    @Excel(name = "学生身份证有效结束日期")
    private Date studentInvalidCardIdentity;

    //资助中心
    //资助中心所在省
    @Excel(name = "资助中心所在省")
    private String supportCenterProvince;

    //资助中心所在市
    @Excel(name = "资助中心所在市")
    private String supportCenterCity;

    //资助中心所在县
    @Excel(name = "资助中心所在县")
    private String supportCenterArea;

    //入学前户籍所在地
    //入学前户籍所在省
    @Excel(name = "入学前户籍所在省")
    private String householdOfProvince;

    //入学前户籍所在市
    @Excel(name = "入学前户籍所在市")
    private String householdOfCity;

    //入学前户籍所在县
    @Excel(name = "入学前户籍所在县")
    private String householdOfArea;

    //入学前户籍所在乡
    @Excel(name = "入学前户籍所在乡")
    private String householdOfCounty;

    //入学前户籍详细
    @Excel(name = "入学前户籍详细")
    private String householdOfDetail;

    // 家庭住址
    //家庭住址所在省
    @Excel(name = "家庭住址所在省")
    private String homeOfProvince;

    //家庭住址所在市
    @Excel(name = "家庭住址所在市")
    private String homeOfCity;

    //家庭住址所在县
    @Excel(name = "家庭住址所在县")
    private String homeOfArea;

    //家庭住址所在乡
    @Excel(name = "家庭住址所在乡")
    private String homeOfCounty;

    //家庭住址详细
    @Excel(name = "家庭住址详细")
    private String homeOfDetail;

    // 是否与户籍地址一致
    @Excel(name = "是否与户籍地址一致")
    private String isTheSameAsHousehold;

    // 家庭住址邮政编码
    @Excel(name = "家庭住址邮政编码")
    private String homeOfPostcode;

    // 家庭电话
    @Excel(name = "家庭电话")
    private String homeOfPhone;

    //联系人信息
    // 联系人姓名
    @Excel(name = "联系人姓名")
    private String concatOfName;

    // 联系人工作单位
    @Excel(name = "联系人工作单位")
    private String concatWorkUnit;

    // 联系人手机号
    @Excel(name = "联系人手机号")
    private String concatOfPhone;

    // 联系人身份证号
    @Excel(name = "联系人身份证号")
    private String concatOfCardIdentity;

    //就学信息
    // 高校名称
    @Excel(name = "高校名称")
    private String collegeOfName;

    // 院系名称
    @Excel(name = "院系名称")
    private String collegeOfInstitute;

    // 专业名称
    @Excel(name = "专业名称")
    private String collegeOfMajor;

    // 学历
    @Excel(name = "学历")
    private String collegeOfEducation;

    // 入学时间
    @Excel(name = "入学时间")
    private Date collegeWithStart;

    // 学生姓名
    @Excel(name = "学生姓名")
    private String userName;

    // 学生学号
    @Excel(name = "学生学号")
    private String studentNo;

    // 专业类别
    @Excel(name = "专业类别")
    private String typeOfMajor;

    // 学制
    @Excel(name = "学制")
    private String collegeOfEducationalSystem;

    // 毕业时间
    @Excel(name = "毕业时间")
    private Date collegeWithEnd;

    // 就业信息
    // 工作单位
    @Excel(name = "工作单位")
    private String workUnit;

    // 单位性质
    @Excel(name = "单位性质")
    private String workFeature;

    // 单位电话
    @Excel(name = "单位电话")
    private String phoneOfUnit;

    // 单位邮政编码
    @Excel(name = "单位邮政编码")
    private String postCodeOfUnit;

    // 单位地址
    @Excel(name = "单位地址")
    private String addressOfUnit;

    // 其他信息
    // 变更
    @Excel(name = "变更")
    private String changeForReason;

    // 身份证照片正面地址
    @Excel(name = "身份证照片正面地址")
    private String identityPathOfFront;

    // 身份证照片反面地址
    @Excel(name = "身份证照片反面地址")
    private String identityPathOfReverse;

    // 上传word文件路径
    @Excel(name = "上传word文件路径")
    private String uploadWordPath;

    // 上传word文件名称
    @Excel(name = "上传word文件名称")
    private String uploadWordName;

    // 已签章的pdf
    @Excel(name = "已签章的pdf路径")
    private String pdfWithSignaturePath;

    @Excel(name = "已签章的pdf名称")
    private String pdfWithSignatureName;

    @Excel(name = "借款人电子签名")
    private String firstSignature;

    @Excel(name = "县资助中心电子签名")
    private String secondSignature;

    // 合同对象
    @Excels({
            @Excel(name = "贷款人", targetAttr = "userName", type = Excel.Type.EXPORT),
            @Excel(name = "住所", targetAttr = "firstAddress", type = Excel.Type.EXPORT)
    })
    private Contract contract;

    /** 合同表ID */
    @Excel(name = "合同编号", type = Excel.Type.IMPORT)
    private Long contractId;

    @Excel(name = "是否已签订了合同")
    private String isContractSign;

    @Excel(name = "贷款审核状态")
    private String creditStatus;

    @Excel(name = "校验码")
    private String rebackCode;

    @Excel(name = "上传回执单")
    private String uploadReceiptWord;

    @Excel(name = "开发银行审核")
    private String isBankCheck;

    @Excel(name = "银行是否发放贷款")
    private String isIssue;

    @Excel(name = "还款表")
    private Long[] repayIds;

    @Excel(name = "是否逾期支付还款")
    private String isExpireForPay;

    @Excel(name = "录取通知书")
    private String letterOfAdmission;

    @Excel(name = "贫困材料证明")
    private String certificat;

    @Excel(name = "家庭户口本")
    private String householdRegistrationBook;

    @Excel(name = "民族")
    private String nation;

    public Long getCreditId() {
        return creditId;
    }

    public void setCreditId(Long creditId) {
        this.creditId = creditId;
    }

    public String getDuringYear() {
        return duringYear;
    }

    public void setDuringYear(String duringYear) {
        this.duringYear = duringYear;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getCardIdentity() {
        return cardIdentity;
    }

    public void setCardIdentity(String cardIdentity) {
        this.cardIdentity = cardIdentity;
    }

    public String getResidence() {
        return residence;
    }

    public void setResidence(String residence) {
        this.residence = residence;
    }

    public String getMedium() {
        return medium;
    }

    public void setMedium(String medium) {
        this.medium = medium;
    }

    public String getHousehold() {
        return household;
    }

    public void setHousehold(String household) {
        this.household = household;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getGuarantor() {
        return guarantor;
    }

    public void setGuarantor(String guarantor) {
        this.guarantor = guarantor;
    }

    public String getGuaPhone() {
        return guaPhone;
    }

    public void setGuaPhone(String guaPhone) {
        this.guaPhone = guaPhone;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public String getGuaCardIdentity() {
        return guaCardIdentity;
    }

    public void setGuaCardIdentity(String guaCardIdentity) {
        this.guaCardIdentity = guaCardIdentity;
    }

    public String getHeath() {
        return heath;
    }

    public void setHeath(String heath) {
        this.heath = heath;
    }

    public String getApplyReason() {
        return applyReason;
    }

    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

    public Date getSignatureDate() {
        return signatureDate;
    }

    public void setSignatureDate(Date signatureDate) {
        this.signatureDate = signatureDate;
    }

    public String getCountyUnit() {
        return countyUnit;
    }

    public void setCountyUnit(String countyUnit) {
        this.countyUnit = countyUnit;
    }

    public String getIsSeal() {
        return isSeal;
    }

    public void setIsSeal(String isSeal) {
        this.isSeal = isSeal;
    }

    public Date getSealDate() {
        return sealDate;
    }

    public void setSealDate(Date sealDate) {
        this.sealDate = sealDate;
    }

    public String getCountyCheckStatus() {
        return countyCheckStatus;
    }

    public void setCountyCheckStatus(String countyCheckStatus) {
        this.countyCheckStatus = countyCheckStatus;
    }

    public Date getStudentEffectiveCardIdentity() {
        return studentEffectiveCardIdentity;
    }

    public void setStudentEffectiveCardIdentity(Date studentEffectiveCardIdentity) {
        this.studentEffectiveCardIdentity = studentEffectiveCardIdentity;
    }

    public Date getStudentInvalidCardIdentity() {
        return studentInvalidCardIdentity;
    }

    public void setStudentInvalidCardIdentity(Date studentInvalidCardIdentity) {
        this.studentInvalidCardIdentity = studentInvalidCardIdentity;
    }

    public String getSupportCenterProvince() {
        return supportCenterProvince;
    }

    public void setSupportCenterProvince(String supportCenterProvince) {
        this.supportCenterProvince = supportCenterProvince;
    }

    public String getSupportCenterCity() {
        return supportCenterCity;
    }

    public void setSupportCenterCity(String supportCenterCity) {
        this.supportCenterCity = supportCenterCity;
    }

    public String getSupportCenterArea() {
        return supportCenterArea;
    }

    public void setSupportCenterArea(String supportCenterArea) {
        this.supportCenterArea = supportCenterArea;
    }

    public String getHouseholdOfProvince() {
        return householdOfProvince;
    }

    public void setHouseholdOfProvince(String householdOfProvince) {
        this.householdOfProvince = householdOfProvince;
    }

    public String getHouseholdOfCity() {
        return householdOfCity;
    }

    public void setHouseholdOfCity(String householdOfCity) {
        this.householdOfCity = householdOfCity;
    }

    public String getHouseholdOfArea() {
        return householdOfArea;
    }

    public void setHouseholdOfArea(String householdOfArea) {
        this.householdOfArea = householdOfArea;
    }

    public String getHouseholdOfCounty() {
        return householdOfCounty;
    }

    public void setHouseholdOfCounty(String householdOfCounty) {
        this.householdOfCounty = householdOfCounty;
    }

    public String getHouseholdOfDetail() {
        return householdOfDetail;
    }

    public void setHouseholdOfDetail(String householdOfDetail) {
        this.householdOfDetail = householdOfDetail;
    }

    public String getHomeOfProvince() {
        return homeOfProvince;
    }

    public void setHomeOfProvince(String homeOfProvince) {
        this.homeOfProvince = homeOfProvince;
    }

    public String getHomeOfCity() {
        return homeOfCity;
    }

    public void setHomeOfCity(String homeOfCity) {
        this.homeOfCity = homeOfCity;
    }

    public String getHomeOfArea() {
        return homeOfArea;
    }

    public void setHomeOfArea(String homeOfArea) {
        this.homeOfArea = homeOfArea;
    }

    public String getHomeOfCounty() {
        return homeOfCounty;
    }

    public void setHomeOfCounty(String homeOfCounty) {
        this.homeOfCounty = homeOfCounty;
    }

    public String getHomeOfDetail() {
        return homeOfDetail;
    }

    public void setHomeOfDetail(String homeOfDetail) {
        this.homeOfDetail = homeOfDetail;
    }

    public String getIsTheSameAsHousehold() {
        return isTheSameAsHousehold;
    }

    public void setIsTheSameAsHousehold(String isTheSameAsHousehold) {
        this.isTheSameAsHousehold = isTheSameAsHousehold;
    }

    public String getHomeOfPostcode() {
        return homeOfPostcode;
    }

    public void setHomeOfPostcode(String homeOfPostcode) {
        this.homeOfPostcode = homeOfPostcode;
    }

    public String getHomeOfPhone() {
        return homeOfPhone;
    }

    public void setHomeOfPhone(String homeOfPhone) {
        this.homeOfPhone = homeOfPhone;
    }

    public String getConcatOfName() {
        return concatOfName;
    }

    public void setConcatOfName(String concatOfName) {
        this.concatOfName = concatOfName;
    }

    public String getConcatWorkUnit() {
        return concatWorkUnit;
    }

    public void setConcatWorkUnit(String concatWorkUnit) {
        this.concatWorkUnit = concatWorkUnit;
    }

    public String getConcatOfPhone() {
        return concatOfPhone;
    }

    public void setConcatOfPhone(String concatOfPhone) {
        this.concatOfPhone = concatOfPhone;
    }

    public String getConcatOfCardIdentity() {
        return concatOfCardIdentity;
    }

    public void setConcatOfCardIdentity(String concatOfCardIdentity) {
        this.concatOfCardIdentity = concatOfCardIdentity;
    }

    public String getCollegeOfName() {
        return collegeOfName;
    }

    public void setCollegeOfName(String collegeOfName) {
        this.collegeOfName = collegeOfName;
    }

    public String getCollegeOfInstitute() {
        return collegeOfInstitute;
    }

    public void setCollegeOfInstitute(String collegeOfInstitute) {
        this.collegeOfInstitute = collegeOfInstitute;
    }

    public String getCollegeOfMajor() {
        return collegeOfMajor;
    }

    public void setCollegeOfMajor(String collegeOfMajor) {
        this.collegeOfMajor = collegeOfMajor;
    }

    public String getCollegeOfEducation() {
        return collegeOfEducation;
    }

    public void setCollegeOfEducation(String collegeOfEducation) {
        this.collegeOfEducation = collegeOfEducation;
    }

    public Date getCollegeWithStart() {
        return collegeWithStart;
    }

    public void setCollegeWithStart(Date collegeWithStart) {
        this.collegeWithStart = collegeWithStart;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getTypeOfMajor() {
        return typeOfMajor;
    }

    public void setTypeOfMajor(String typeOfMajor) {
        this.typeOfMajor = typeOfMajor;
    }

    public String getCollegeOfEducationalSystem() {
        return collegeOfEducationalSystem;
    }

    public void setCollegeOfEducationalSystem(String collegeOfEducationalSystem) {
        this.collegeOfEducationalSystem = collegeOfEducationalSystem;
    }

    public Date getCollegeWithEnd() {
        return collegeWithEnd;
    }

    public void setCollegeWithEnd(Date collegeWithEnd) {
        this.collegeWithEnd = collegeWithEnd;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getWorkFeature() {
        return workFeature;
    }

    public void setWorkFeature(String workFeature) {
        this.workFeature = workFeature;
    }

    public String getPhoneOfUnit() {
        return phoneOfUnit;
    }

    public void setPhoneOfUnit(String phoneOfUnit) {
        this.phoneOfUnit = phoneOfUnit;
    }

    public String getPostCodeOfUnit() {
        return postCodeOfUnit;
    }

    public void setPostCodeOfUnit(String postCodeOfUnit) {
        this.postCodeOfUnit = postCodeOfUnit;
    }

    public String getAddressOfUnit() {
        return addressOfUnit;
    }

    public void setAddressOfUnit(String addressOfUnit) {
        this.addressOfUnit = addressOfUnit;
    }

    public String getChangeForReason() {
        return changeForReason;
    }

    public void setChangeForReason(String changeForReason) {
        this.changeForReason = changeForReason;
    }

    public String getIdentityPathOfFront() {
        return identityPathOfFront;
    }

    public void setIdentityPathOfFront(String identityPathOfFront) {
        this.identityPathOfFront = identityPathOfFront;
    }

    public String getIdentityPathOfReverse() {
        return identityPathOfReverse;
    }

    public void setIdentityPathOfReverse(String identityPathOfReverse) {
        this.identityPathOfReverse = identityPathOfReverse;
    }

    public String getUploadWordPath() {
        return uploadWordPath;
    }

    public void setUploadWordPath(String uploadWordPath) {
        this.uploadWordPath = uploadWordPath;
    }

    public String getUploadWordName() {
        return uploadWordName;
    }

    public void setUploadWordName(String uploadWordName) {
        this.uploadWordName = uploadWordName;
    }

    public String getPdfWithSignaturePath() {
        return pdfWithSignaturePath;
    }

    public void setPdfWithSignaturePath(String pdfWithSignaturePath) {
        this.pdfWithSignaturePath = pdfWithSignaturePath;
    }

    public String getPdfWithSignatureName() {
        return pdfWithSignatureName;
    }

    public void setPdfWithSignatureName(String pdfWithSignatureName) {
        this.pdfWithSignatureName = pdfWithSignatureName;
    }

    public String getFirstSignature() {
        return firstSignature;
    }

    public void setFirstSignature(String firstSignature) {
        this.firstSignature = firstSignature;
    }

    public String getSecondSignature() {
        return secondSignature;
    }

    public void setSecondSignature(String secondSignature) {
        this.secondSignature = secondSignature;
    }

    public Contract getContract() {
        return contract;
    }

    public void setContract(Contract contract) {
        this.contract = contract;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getIsContractSign() {
        return isContractSign;
    }

    public void setIsContractSign(String isContractSign) {
        this.isContractSign = isContractSign;
    }

    public String getCreditStatus() {
        return creditStatus;
    }

    public void setCreditStatus(String creditStatus) {
        this.creditStatus = creditStatus;
    }

    public String getRebackCode() {
        return rebackCode;
    }

    public void setRebackCode(String rebackCode) {
        this.rebackCode = rebackCode;
    }

    public String getUploadReceiptWord() {
        return uploadReceiptWord;
    }

    public void setUploadReceiptWord(String uploadReceiptWord) {
        this.uploadReceiptWord = uploadReceiptWord;
    }

    public String getIsBankCheck() {
        return isBankCheck;
    }

    public void setIsBankCheck(String isBankCheck) {
        this.isBankCheck = isBankCheck;
    }

    public String getIsIssue() {
        return isIssue;
    }

    public void setIsIssue(String isIssue) {
        this.isIssue = isIssue;
    }

    public Long[] getRepayIds() {
        return repayIds;
    }

    public void setRepayIds(Long[] repayIds) {
        this.repayIds = repayIds;
    }

    public String getIsExpireForPay() {
        return isExpireForPay;
    }

    public void setIsExpireForPay(String isExpireForPay) {
        this.isExpireForPay = isExpireForPay;
    }

    public String getLetterOfAdmission() {
        return letterOfAdmission;
    }

    public void setLetterOfAdmission(String letterOfAdmission) {
        this.letterOfAdmission = letterOfAdmission;
    }

    public String getCertificat() {
        return certificat;
    }

    public void setCertificat(String certificat) {
        this.certificat = certificat;
    }

    public String getHouseholdRegistrationBook() {
        return householdRegistrationBook;
    }

    public void setHouseholdRegistrationBook(String householdRegistrationBook) {
        this.householdRegistrationBook = householdRegistrationBook;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }
}
